ALMaSS  1.0
The Animal, Landscape and Man Simulation System
configurator.h File Reference
#include <stdio.h>
#include <string>
#include <map>
#include <vector>

Go to the source code of this file.

Classes

class  CfgBase
 Base class for a configurator entry. More...
 
class  CfgInt
 Integer configurator entry class. More...
 
class  CfgFloat
 Double configurator entry class. More...
 
class  CfgBool
 Bool configurator entry class. More...
 
class  CfgStr
 String configurator entry class. More...
 
class  Configurator
 A class to provide standard parameter entry facilities. More...
 

Macros

#define CFG_MAX_LINE_LENGTH   512
 

Enumerations

enum  CfgType {
  CFG_NONE , CFG_INT , CFG_FLOAT , CFG_BOOL ,
  CFG_STRING
}
 
enum  CfgSecureLevel { CFG_CUSTOM , CFG_PUBLIC , CFG_PRIVATE }
 

Variables

class Configuratorg_cfg
 

Macro Definition Documentation

◆ CFG_MAX_LINE_LENGTH

#define CFG_MAX_LINE_LENGTH   512

Enumeration Type Documentation

◆ CfgSecureLevel

Enumerator
CFG_CUSTOM 
CFG_PUBLIC 
CFG_PRIVATE 
59  {
60  CFG_CUSTOM,
61  CFG_PUBLIC,
CfgSecureLevel
Definition: configurator.h:59
@ CFG_PRIVATE
Definition: configurator.h:62
@ CFG_CUSTOM
Definition: configurator.h:60
@ CFG_PUBLIC
Definition: configurator.h:61

◆ CfgType

enum CfgType
Enumerator
CFG_NONE 
CFG_INT 
CFG_FLOAT 
CFG_BOOL 
CFG_STRING 
51  {
52  CFG_NONE,
53  CFG_INT,
54  CFG_FLOAT,
55  CFG_BOOL,
57 } CfgType;
CfgType
Definition: configurator.h:51
@ CFG_BOOL
Definition: configurator.h:55
@ CFG_STRING
Definition: configurator.h:56
@ CFG_NONE
Definition: configurator.h:52
@ CFG_INT
Definition: configurator.h:53
@ CFG_FLOAT
Definition: configurator.h:54

Variable Documentation

◆ g_cfg